package com.example.design.strategyDemo;

import org.springframework.stereotype.Component;

@Component
public class EatStrategy implements DemoStrategy {
    public void doSomething() {
        System.out.println("eat");
    }
}
